// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/css/common.css'
import axios from "axios";
import BackTop from "./components/BackTop";
import './assets/font/iconfont.css'
import Mui from 'vue-awesome-mui';
Vue.use(Mui);

Vue.use(BackTop);


console.log('进入了==========================');

axios.get('http://tingapi.ting.baidu.com/v1/restserver/ting?method=baidu.ting.billboard.billList&type=1&size=10&offset=0').then(res=>{
  console.log(res.data);
  
})



// 插入轮播图插件
import VueAwesomeSwiper from 'vue-awesome-swiper'

// require styles
import 'swiper/dist/css/swiper.css'

// Vue.prototype.baseUrl = process.env.NODE_ENV==="production"?"http://tingapi.ting.baidu.com":"/api"


Vue.use(VueAwesomeSwiper, /* { default global options } */);

import tabs from './components/tabs'
Vue.use(tabs);


Vue.prototype.$axios = axios;


Vue.config.productionTip = false;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
});
